package com.dwxt.community.controller;

import com.dwxt.common.base.BaseResult;
import com.dwxt.community.service.FangHuiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/cms/fangHui")
@RestController
public class FangHuiController {

    @Autowired
    private FangHuiService fangHuiService;

    @RequestMapping("/register")
    public BaseResult register(String id){
        return fangHuiService.register(id);
    }
}
